function Data = getStock(str)

query = strcat('select t.Date, s.Name, t.ClosePrice from security s, transaction t where s.ID = t.ID_Security and s.Name =', '''', str, ''';');

temp = selectData(query);
Data = temp;
end